package com.lpb.spring.lpbspring.aop.advice.advices;

import com.lpb.spring.lpbspring.aop.advice.Advice;

import java.lang.reflect.Method;

public interface ThrowsAdvice extends Advice {

    /**异常通知
     * @param method
     * @param args
     * @param target
     * @param ex
     * @throws Throwable
     */
    void afterThrowing(Method method, Object[] args, Object target, Exception ex) throws Exception;
}
